const tabbar = {
	state: {
		tabBarList: [{
			pagePath: '/pages/index/index',
			iconPath: "/static/images/tabbar/footer_icon1_no.png",
			selectedIconPath: "/static/images/tabbar/footer_icon1.png",
			text: '首页',
		},
		{
			pagePath: '/pages/activity/index',
			iconPath: "https://staticv3.youzy.cn/images/ad/miniapp/active/mockexam-vip.gif",
			selectedIconPath: "https://staticv3.youzy.cn/images/ad/miniapp/active/mockexam-vip.gif",
			text: '',
			midButton: true,
		},
		{
			pagePath: '/pages/my/index',
			iconPath: "/static/images/tabbar/footer_icon2_no.png",
			selectedIconPath: "/static/images/tabbar/footer_icon2.png",
			text: '我的',
			count: 0, // 数量
			isDot: false // 小红点(优先级比count高)
		}]
	},
	mutations: {
		SET_TABBAR: (state, value) => {
			state.tabBarList = value
		}
	}
}

export default tabbar